13 for (int i
=0; i
<n
; ++i
){
14 for (int j
=0; j
<n
; ++j
){
15 scanf("%d", &m
[i
][j
]);
20 for (int i
=0; i
<n
; ++i
){
24 for (int k
=0; k
<n
; ++k
){
29 for (int k
=0; k
<n
; ++k
){
31 if (sum
> answer
) answer
= sum
;
37 for (int k
=0; k
<n
; ++k
){
43 if (sum
- a
> answer
) answer
= sum
- a
;
47 printf("%d\n", answer
);